#include "protocol.h"

void CAddress::Init()
{
	nServices = NODE_NETWORK;
	nTime = 100000000;
	nLastTry = 0;
}


CAddress::CAddress() :CService()
{
	Init();
}


CAddress::CAddress(CService ipIn, uint64_t nServicesIn/* =NODE_NETWORK */) : CService(ipIn)
{
	Init();
	nServices = nServicesIn;
}